package com.zp.business.service.diagnosis;


import com.zp.business.api.diagnosis.HisDiagnosisBo;
import com.zp.business.api.diagnosis.HisDiagnosisVo;
import com.zp.common.myBatis.core.page.PageQuery;
import com.zp.common.myBatis.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 患者诊断表Service接口
 *
 * @author zhang peng
 * @ date 2024-01-01
 */
public interface IHisDiagnosisService {

    /**
     * 查询患者诊断表
     */
    HisDiagnosisVo queryById (String id);

    /**
     * 查询患者诊断表列表(分页)
     */
    TableDataInfo<HisDiagnosisVo> queryPageList (HisDiagnosisBo bo, PageQuery pageQuery);

    /**
     * 查询患者诊断表列表(不分页)
     */
    List<HisDiagnosisVo> queryList (HisDiagnosisBo bo);

    /**
     * 修改患者诊断表
     */
    Boolean insertByBo (HisDiagnosisBo bo);

    /**
     * 修改患者诊断表
     */
    Boolean updateByBo (HisDiagnosisBo bo);

    /**
     * 校验并批量删除患者诊断表信息
     */
    Boolean deleteWithValidByIds (Collection<String> ids, Boolean isValid);
}
